package com.linghu.pojo;

import dev.langchain4j.model.output.structured.Description;
import lombok.Data;
@Data
@Description("Response响应体的封装类")
public class ResponseBody {
    @Description("请求的URL")
    private String url;
    @Description("响应体的类型，如果是HTML则为text/html，如果是JSON则为application/json")
    private String type;
    @Description("响应体的内容")
    private String content;
    @Description("响应体的摘要,HTML生成总结，JSON就是空字符串")
    private String digest;
    @Description("响应体的长度")
    private Integer length;
}
